#include "board.h"


int chess_board[BOARD_ROW][BOARD_COL] = {
    5, 4, 3, 2, 1, 2, 3, 4, 5,
    0, 0, 0, 0, 0, 0, 0, 0, 0,
    0, 6, 0, 0, 0, 0, 0, 6, 0,
    7, 0, 7, 0, 7, 0, 7, 0, 7,
    0, 0, 0, 0, 0, 0, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0, 0,
    -7,0, -7,0, -7,0, -7,0, -7,
    0,-6, 0, 0, 0, 0, 0,-6, 0,
    0, 0, 0, 0, 0, 0, 0, 0, 0,
    -5,-4,-3,-2,-1,-2,-3,-4,-5
};

void gene_board(int board[][BOARD_COL]){
    for(int i = 0; i < 10; i++){
        for(int j = 0; j < 9; j++){
            board[i][j] = chess_board[i][j];
        }
    }
}